package com.zhonglz.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/****
 * 接入商实体
 * @author xiaozhong
 */
public class BuAccessInfo {
    private String id;//标识

    private String accessIden;//接入商标识

    private String accessKey;//接入商秘钥

    private String accessName;//接入商名

    private Integer authCountNumber;//授权总次数

    private Integer authUseNumber;//授权使用次数

    private Integer authResidueNumber;//授权剩余次数

    private Byte isUse;//是否授权：1已授权2未授权

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;//创建时间

    private String createUser;//创建人

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccessIden() {
        return accessIden;
    }

    public void setAccessIden(String accessIden) {
        this.accessIden = accessIden == null ? null : accessIden.trim();
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey == null ? null : accessKey.trim();
    }

    public String getAccessName() {
        return accessName;
    }

    public void setAccessName(String accessName) {
        this.accessName = accessName == null ? null : accessName.trim();
    }

    public Integer getAuthCountNumber() {
        return authCountNumber;
    }

    public void setAuthCountNumber(Integer authCountNumber) {
        this.authCountNumber = authCountNumber;
    }

    public Integer getAuthUseNumber() {
        return authUseNumber;
    }

    public void setAuthUseNumber(Integer authUseNumber) {
        this.authUseNumber = authUseNumber;
    }

    public Integer getAuthResidueNumber() {
        return authResidueNumber;
    }

    public void setAuthResidueNumber(Integer authResidueNumber) {
        this.authResidueNumber = authResidueNumber;
    }

    public Byte getIsUse() {
        return isUse;
    }

    public void setIsUse(Byte isUse) {
        this.isUse = isUse;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
}